<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/6/9
  Time: 11:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>this is edit page!</title>
    <style>
      html{
        font-family:"微软雅黑";
      }
      body{
        background-image:url(../../resources/image/1.jpg)

      }

      a{
        text-decoration: none;
        color:#000;
        font-size: 20px;
      }
      form{
        margin-left: 400px;
        margin-top: 150px;
      }
      input{
        height:35px;
        font-size: 20px;
        color:#2e432b;
        font-family:"微软雅黑";
      }
    </style>
</head>
<body>


<sf:form method="post" modelAttribute="user" action="/user/update">
  <table cellspacing="10">
  <tr>
    <th>ID</th>
    <th><sf:input type="text" path="userId"/></th>
  </tr>
    <tr>
      <th>用户名</th>
      <th><sf:input type="text" path="username"/></th>
    </tr>
  <tr>
    <th>密码</th>
    <th><sf:input type="text" path="password"/></th>
  </tr>
  <tr>
    <th>简介</th>
    <th><sf:input type="text" path="description" /></th>
  </tr>
    <tr>
      <th>  <a><input type="submit" name="submit" value="保存" style="width:70px;height:30px;background-color:lightseagreen;border:none;margin-left: 50px;color: #fff"/></a>
      </th>
      <th> <span style="width:70px;height:30px;display: inline-block;margin-left: 30px;text-align: center;line-height: 30px;background-color:palevioletred;"><a href="/user/users">返回</a></span>
      </th>
    </tr>


    </sf:form>
</body>
</html>
